package com.klz.iblog.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;
import java.util.List;
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "type表")
public class Type implements Serializable {
    @ApiModelProperty("类型id")
    private Integer typeId;

    @ApiModelProperty("类型名称")
    private String typeName;

    @ApiModelProperty("类型父id")
    private Integer typeParentId;

    @ApiModelProperty("类型创建时间")
    private Date typeCreatetime;

    @ApiModelProperty("类型修改时间")
    private Date typeUpdatetime;

    @ApiModelProperty("类型删除时间")
    private Date typeDeletetime;

    @ApiModelProperty("该类型的博客")
    private List<Blog> blogs;

    private static final long serialVersionUID = 1L;
}